package com.travel.pojo;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * 
 * @TableName car_rental_company
 */
@TableName(value ="car_rental_company")
@Data
@NoArgsConstructor
@AllArgsConstructor
public class CarRentalCompany implements Serializable {
    /**
     * 租车公司id
     */
    @TableId(value = "id")
    private Integer id;

    /**
     * 租车公司名称
     */
    @TableField(value = "name")
    private String name;

    /**
     * 地址
     */
    @TableField(value = "address")
    private String address;

    /**
     * 营业时间
     */
    @TableField(value = "business_time")
    private String businessTime;

    /**
     * 所在城市id
     */
    @TableField(value = "city_id")
    private Integer cityId;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;

}